﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication3.基础信息管理
{
    public partial class baseInfo_del : Form
    {
        public string temp_delID;
        public baseInfo_del()
        {
            InitializeComponent();
        }

        private void button_OK_Click(object sender, EventArgs e)
        {
            try
            {
                权限管理.permissionManaging.mySql.excute_sql("delete from baseInfotable where materialID = '"
                    + temp_delID + "'");
                this.Dispose();
            }
            catch
            { 
            
            }
        }

        private void button_cancel_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }
    }
}
